Skip to content

xemu: Update to v0.8.133#7782

Open
androidnisse wants to merge 1 commit intogetsolus:mainfrom
androidnisse:xemu
Open

xemu: Update to v0.8.133#7782
androidnisse wants to merge 1 commit intogetsolus:mainfrom
androidnisse:xemu

Conversation

@androidnisse
Copy link
Contributor

Summary

  • Release notes can be found here.
  • Resolves xemu: Update to 0.8.96 #6235
  • xemu has been updated with a large number of new changes, bringing in almost three years’ worth of updates.

Test Plan

Checklist

  • Package was built and tested against unstable
  • This change could gainfully be listed in the weekly sync notes once merged

Packaging notes

  • I could not make it find the systems glslang so I had to turn on networking so it could download it's own copy.

summary : Original Xbox Emulator
description: |
An open-source, cross-platform application that emulates the hardware of the original Xbox game console, allowing users to play their Xbox games on Windows, macOS, and Linux systems.
networking : true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What part needs networking?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging notes

I could not make it find the systems glslang so I had to turn on networking so it could download it's own copy.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try adding glslang-devel and pkgconfig(SPIRV-Headers) to the build deps list. Looking at the build output, it looks like there may be a few other missing dependencies, too.

While investigating this, I updated our glslang package, so you may want to wait until that is merged.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No that did not seem to work:

glslang could not be found because dependency Threads could not be found.
Run-time dependency glslang found: NO (tried pkgconfig)
Initialized empty Git repository in /home/build/YPKG/root/xemu/build/xemu.git/subprojects/glslang/.git/
fatal: unable to access 'https://github.com/KhronosGroup/glslang/': Could not resolve host: github.com
ERROR: Cmake subproject glslang is buildable: NO

../meson.build:2369:27: ERROR: Git command failed: ['/usr/bin/git', 'fetch', '--depth', '1', 'origin', 'b5782e52ee2f7b3e40bb9c80d15b47016e008bc9']

A full log can be found at /home/build/YPKG/root/xemu/build/xemu.git/build/meson-logs/meson-log.txt

ERROR: meson setup failed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrmm something must have changed with the vulkan stack upgrade... Still trying to figure out what. Gonna put my WIP package.yml here so I don't lose it while touching other packages.

# yaml-language-server: $schema=/usr/share/ypkg/schema/schema.json
name       : xemu
version    : 0.8.133
release    : 4
source     :
    - git|https://github.com/xemu-project/xemu.git : v0.8.133
license    :
    - GPL-2.0-or-later
    - LGPL-2.1-or-later
    - MIT
    - BSD-2-Clause
component  : game.emulator
homepage   : https://xbox.app
summary    : Original Xbox Emulator
description: |
    An open-source, cross-platform application that emulates the hardware of the original Xbox game console, allowing users to play their Xbox games on Windows, macOS, and Linux systems.
clang      : true
builddeps  :
    - pkgconfig(epoxy)
    - pkgconfig(gbm)
    - pkgconfig(glu)
    - pkgconfig(gtk+-3.0)
    - pkgconfig(keyutils)
    - pkgconfig(libcurl)
    - pkgconfig(libpcap)
    - pkgconfig(liburing)
    - pkgconfig(libusb-1.0)
    - pkgconfig(nlohmann_json)
    - pkgconfig(pixman-1)
    - pkgconfig(samplerate)
    - pkgconfig(sdl2)
    - pkgconfig(slirp)
    - pkgconfig(vulkan)
    - acpica-unix
    - glslang-devel
setup      : |
    %patch -p1 -i $pkgfiles/0001-Better-follow-freedesktop-specifications.patch
    %configure_no_runstatedir \
                --extra-cflags="-DXBOX=1 -Wno-error=redundant-decls ${CFLAGS} -O3 -I$workdir/ui/imgui" \
                --target-list=i386-softmmu \
                --enable-lto --disable-werror

build      : |
    %make
install    : |
    install -v -d $installdir/usr/bin/
    install -v $workdir/build/qemu-system-i386 $installdir/usr/bin/xemu

    install -Dm00644 $workdir/ui/xemu.desktop $installdir/usr/share/applications/app.xemu.xemu.desktop

    for i in 16 24 32 48 64 128 256 512; do
        install -Dm00644 $workdir/ui/icons/xemu_${i}x${i}.png $installdir/usr/share/icons/hicolor/${i}x${i}/apps/app.xemu.xemu.png
    done
    ## The svg doesn't render correctly or we could just use that. https://github.com/xemu-project/xemu/issues/1181
    # install -Dm00644 $workdir/ui/icons/xemu.svg $installdir/usr/share/icons/hicolor/scalable/apps/app.xemu.xemu.svg

    # Appdata
    install -Dm00644 $workdir/xemu.metainfo.xml $installdir/usr/share/metainfo/xemu.metainfo.xml

    %install_license LICENSE COPYING.LIB COPYING

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this have something to do with glslang?
KhronosGroup/glslang#1715

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really starting to dislike that stack... xD

I tried the patches from Fedora and Debian, but that just causes link failures when building shared libraries. Those two distros, of course, only build glslang as a static library.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So which would be best here? Try to fix glslang or just let xemu download it?

**Summary**
- Release notes can be found [here](xemu-project/xemu@v0.8.132...v0.8.133).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

xemu: Update to 0.8.96

2 participants